class Animal():
    def eat(self):
        print('吃')

    def drink(self):
        print('喝')

class Dog(Animal):
    def bark(self):
        print('砍价护院')

class JinMao(Dog):
    def bark(self):
        print('卖萌')

chenyaojin = JinMao()
chenyaojin.bark()